Xbasic

SQL::DeleteStatementReset Method

Syntax

V Reset()

Arguments

SQL::DeleteStatement

A SQL::DeleteStatement object.

Description

Reset the query as if it had just been created.

Discussion

The Reset() function resets the values in the SQL::DeleteStatement object as if it had just been created.

Example

dim del as SQL::DeleteStatement
del.SQLstatement = "DELETE FROM Customer WHERE lastname > 'G'"
? del.SQLStatement
= "DELETE FROM CustomerWHERE (lastname > 'G')"
del.reset()
? del.SQLStatement
= "DELETE FROM"

See Also